﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public static class SanPhamBUS
    {
        public static List<SANPHAM> layDSSP()
        {
            return SanPhamDAO.layDSSP();
        }

        public static SANPHAM laySP(int maSP)
        {
            return SanPhamDAO.laySP(maSP);
        }

        public static void ThemSanPham(SANPHAM sanpham)
        {
            SanPhamDAO.ThemSanPham(sanpham);
        }
        public static void CapNhatSanPham(SANPHAM sanpham)
        {
            SanPhamDAO.CapNhatSanPham(sanpham);
        }
    }
}
